<!-- Top Nav Login -->
<nav id="top-nav">
    <div class="menu-top-menu-container">
        <ul id="menu-top-menu" class="menu-new">
            <li id="login" class="menu-item menu-item-type-post_type menu-item-object-page">
                {if $user->id}
                    {if $can_upload_profile == true}
                        <a id="client_profile_manage" href="{link module=profilemodule action=manage}">&nbsp;&nbsp;Manage Profile</a>
                    {/if}
                    <a id="client_profile" href="{link module=profilemodule action=index}">&nbsp;&nbsp;{$_TR.client_profile}</a>
                    <a id="client_logout" href="/logout">&nbsp;&nbsp;{$_TR.client_logout}</a>
                {else}
                    <a {if $mobile==0}id="client_login"{/if} class="client_login" href="/{$smarty.const.LANG_URL_PREFIX}/login">&nbsp;&nbsp;{$_TR.client_login}</a>
                {/if}
            </li>
        </ul>
    </div>
</nav>

{if !$user->id }
    {include file="`$smarty.const.THEME_ABSOLUTE`modules/loginmodule/views/Login Button.tpl"}
{/if}       
